package com.pig4cloud.pigx.knowledge.support.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author lengleng
 * @date 2024/10/12
 * <p>
 * SUCCESSED：任务执行成功
 * <p>
 * FAILED：任务执行失败
 * <p>
 * CANCELED：任务被取消
 * <p>
 * PENDING：任务排队中
 * <p>
 * SUSPENDED：任务挂起
 * <p>
 * RUNNING：任务处理中
 */
@Getter
@AllArgsConstructor
public enum ImageTaskStatusEnums {

	SUCCESSED("SUCCESSED", "任务执行成功"),

	FAILED("FAILED", "任务执行失败");

	private String code;

	private String desc;

}
